import random

d = {item: random.randint(1, 100) for item in range(4)}
print(d)

# 创建2个列表
lst = [1001, 1002, 1003]
lst2 = ["林冲", "武松", "宋江"]
d = {key: value for key, value in zip(lst, lst2)}
print(d)


